// 现场正式环境
// var baseUrl = "http://172.30.27.129:8090/"
// 公司测试环境
var baseUrl =location.protocol+"//"+location.host+"/"
//开发环境
// var baseUrl = "https://152v1o8024.goho.co/"
// var baseUrl = "http://139.186.162.149:8080/"
var topicObj = {
  type:"萧山机场图",
  name:"萧山机场",
  id:"20034",
  mapType:"专题图",
  // 底图
  baseMap:[{
    id:"20015",
    url:baseUrl+"geoserver/gwc/service/wmts?ZSHC:ZSHC_FXQ_Tile_Technology",
    layer:"ZSHC:ZSHC_FXQ_Tile_Technology",
    mapserviceType:"wmts",
    type:"wmts",
    display:true,
    crs:"EPSG:900913",
    name:"ZSHC:ZSHC_FXQ_Tile_Technology",
    isPiece:0,
    xmax: "120.45869772700011",
    xmin: "120.39894907500002",
    ymax: "30.257321803000053",
    ymin: "30.218357766000054"
  }],
  // 要素区域
  baseElement:[
    {
      id:"20850",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC:fxq_hxd_tzq_pg&outputFormat=application/json",
      layer:"ZSHC:fxq_hxd_tzq_pg",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"土质区",
      // options: {
      //   isControl: true
      // }
    },
    {
      id:"10021",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC:fxq_fq_njrltqy_pg&outputFormat=application/json",
      layer:"ZSHC:fxq_fq_njrltqy_pg",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"鸟击热力图区域",
    },
    {
      id:"10022",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC:fxq_fq_nqxsqy_pg&outputFormat=application/json",
      layer:"ZSHC:fxq_fq_nqxsqy_pg",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"鸟情巡视区域",
    },
    {
      id:"20849",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC:fxq_jp_jpfq_pg&outputFormat=application/json",
      layer:"ZSHC:fxq_jp_jpfq_pg",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"机坪分区"
    },
    {
      id:"20851",
      url:baseUrl+"/geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC:fxq_dg_dgfq_pg&outputFormat=application/json",
      layer:"ZSHC:fxq_dg_dgfq_pg",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"灯光室要素图层"
    },
    {
      id:"100",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC%3Afxq_dg_dlhl_pl&outputFormat=application%2Fjson",
      layer:"ZSHC%3Afxq_dg_dlhl_pl",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"灯光回路",
      options: {
        isControl: true,
        isvisible: true
      }
    },
    {
      id:"101",
      url:baseUrl+"geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC%3Afxq_dg_zhd_pt&outputFormat=application%2Fjson",
      layer:"ZSHC%3Afxq_dg_zhd_pt",
      mapserviceType:"wfs",
      type:"wfs",
      display:false,
      crs:"EPSG:4326",
      name:"灯具点位",
      options: {
        isControl: true,
        isvisible: true
      }
    }
  ]
};


// // 电缆回路
// http://192.168.0.201:8080/geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC%3Afxq_dg_dlhl_pl&outputFormat=application%2Fjson
// // 电箱
// http://192.168.0.201:8080/geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC%3Afxq_dg_dx_pt&outputFormat=application%2Fjson
// 助航灯
// http://192.168.0.201:8080/geoserver/ZSHC/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=ZSHC%3Afxq_dg_zhd_pt&outputFormat=application%2Fjson
